﻿using Domain;
using Domain.Entity;
using Domain.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.AppService.JurisdictionAppService
{
    public class JurisdictionAppService : IJurisdictionAppService
    {
        private readonly IJurisdictionRepository jurisdictionRepository;

        public JurisdictionAppService(IJurisdictionRepository jurisdictionRepository)
        {
            this.jurisdictionRepository = jurisdictionRepository;
        }
        public List<Quan> GetPermissionObjectPID(int rid)
        {
          return jurisdictionRepository.GetPermissionObjectPID(rid);
        }

        public List<ShuZhuangTu> GetShuZhuangTu()
        {
           return jurisdictionRepository.GetShuZhuangTu();
        }
    }
}
